package com.ssr.master.common.persistence;

import java.util.List;

/**
 * @author ZhangPeng
 * @Describe //todo
 * @date
 * @updateBy
 * @other
 **/

public interface CrudDao<T> extends BaseDao {

    T get(String var1);

    T get(T var1);

    List<T> findList(T var1);

    List<T> findAllList(T var1);

    /**
     * @param t
     * @return java.lang.Integer
     * @Description //todo 获取findlist数据总条数
     * @author ZhangPeng
     * @date 2020/7/22 9:12
     * @other
     **/

    Integer findListCount(T t);

    /**
     * @deprecated
     */
    @Deprecated
    List<T> findAllList();

    int insert(T var1);

    int update(T var1);

    /**
     * @deprecated
     */
    @Deprecated
    int delete(String var1);

    int delete(T var1);
}
